const Shop = ()=>import('@/views/shop/Shop')

const Goods = () => import('@/views/shop/childCpns/Goods')
const Comments = () => import('@/views/shop/childCpns/Comments')
const Seller = () => import('@/views/shop/childCpns/Seller')


export const ShopRouter = {
  path: "/shop",
  component: Shop,
  children: [
    { path: "", redirect: "goods" },
    { path: "goods", name: "goods", component: Goods },
    { path: "comments", name: "comments", component: Comments },
    { path: "seller", name: "seller", component: Seller }
  ]
};